package com.flow.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 定义的流程的结束,一般定义在一些结束的方法上,有这个注解的方法就不会再向下查找解析流程的注释信息
 *
 * <p>Implementations must be thread-safe.
 *
 * <p>Example usage:
 * <pre>{@code
 *     MyInterface myInterface = new MyInterfaceImpl();
 *     myInterface.doSomething();
 * }</pre>
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface FlowEnd {

    public String value() default "";

}
